import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter)
import ElementUI from 'element-ui';
Vue.use(ElementUI)
import 'element-ui/lib/theme-chalk/index.css';
import jQuery from 'jquery'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min'


import routes from './views/routes';

routes.push({path:'/',component:routes[0].component});

Vue.config.debug = true; //开启错误提示

var router = new VueRouter({routes: routes});

new Vue({
	// el: document.getElementById('app'), 
	el: '#product-app', // 如果不渲染，那么久改为document.getElementById试下
	data:{},
	router:router
});